local jiandai = fk.CreateSkill{
  name = "mod__jiandai",
  frequency = Skill.Compulsory,
}
local jiandaiEffects = {
  mute = true,
  can_trigger = function(self, event, target, player, data)
    if not player:hasSkill(self) or player.dead then return end
    if event == fk.BeforeTurnOver then
      return target == player and not player.faceup
    else
      return player.faceup
    end
  end,
  on_use = function(self, event, target, player, data)
    if event == fk.BeforeTurnOver then
      return true
    else
      player:turnOver()
    end
  end,
}
jiandai:addEffect(fk.GameStart, jiandaiEffects)
jiandai:addEffect(fk.BeforeTurnStart, jiandaiEffects)
jiandai:addEffect(fk.BeforeTurnOver, jiandaiEffects)
Fk:loadTranslationTable{
  ["mod__jiandai"] = "缄殆",
  [":mod__jiandai"] = "锁定技，你始终处于翻面状态。",
}
return jiandai